<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 头部引入css (先引入插件，在加载自己的)-->
    <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="./assets/css/login.css">
</head>

<body>
    <!-- logo图片 -->
    <img id="logo" src=".//assets/images/logo.png" alt="">
    <!--登录的盒子 start -->
    <div class="login box">
        <!-- title标题图片 -->
        <div class="box_title"></div>
        <!-- 登录的表单start -->
        <form action="" class="layui-form">
            <!-- 用户名 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" lay-verify="title" autocomplete="off" placeholder="请输入用户名"
                    class="layui-input">
            </div>
            <!-- 密码 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" name="password" lay-verify="title" autocomplete="off" placeholder="请输入密码"
                    class="layui-input">
            </div>
            <!-- 登录按钮 -->
            <div class="layui-form-item">
                <button type="submit" class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit=""
                    lay-filter="demo1">登录</button>
            </div>

            <div class="layui-form-item">
                <a href="javascript:;">去注册账号</a>
            </div>
        </form>
        <!-- 登录的表单 end-->
    </div>
    <!--登录的盒子 end -->
    <!-- 注册的盒子 start -->
    <div class="register box">
        <div class="box_title"></div>
        <!-- 注册的表单start -->
        <form action="" class="layui-form">
            <!-- 用户名 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" lay-verify="required" autocomplete="off" placeholder="请输入用户名"
                    class="layui-input">
            </div>
            <!-- 密码 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" name="password" lay-verify="required|len|same" autocomplete="off"
                    placeholder="请输入密码" class="layui-input ">
            </div>
            <!-- 确认密码 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" lay-verify="required|len|same" autocomplete="off" placeholder="请输入密码"
                    class="layui-input pwd">
            </div>
            <!-- 登录按钮 -->
            <div class="layui-form-item">
                <button type="submit" class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit=""
                    lay-filter="demo1">注册</button>
            </div>
            <!-- 去注册账号 -->
            <div class="layui-form-item ">
                <a href="javascript:;">去登录</a>
            </div>
        </form>
        <!-- 注册的表单 end-->
    </div>
    <!-- 注册的盒子 end -->
    <!-- body结束之前，引入js (先引入插件，在加载自己的)-->
    <script src="./assets/lib/jquery.js"></script>
    <script src="./assets/lib/layui/layui.all.js"></script>
    <script src="./assets/js/comm.js"></script>
    <script src="./assets/js/login.js"></script>
</body>

</html>